package com.woniuxy.sale.mapper;

import com.woniuxy.sale.entity.SalePack;
import com.woniuxy.sale.entity.dto.SalePackManageDTO;
import com.woniuxy.sale.entity.dto.SalePackOrderItemDTO;
import com.woniuxy.sale.entity.vo.SalePackManageVo;
import com.woniuxy.sale.entity.vo.UpdateSalePackVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 打包单; Mapper 接口
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
@Mapper
public interface SalePackMapper{

    boolean addPack(SalePack salePack);

    boolean updateState(UpdateSalePackVo updateSalePackVo);

    List<SalePackManageDTO> managePack(SalePackManageVo salePackManageVo);

    List<SalePackOrderItemDTO> findOrderItemList(Integer sid);

    List<String> findAllPno();
}
